using UnityEngine;
using UnityEngine.SceneManagement;

public class SystemLose : MonoBehaviour
{
	public tk2dTextMesh texhMeshCoin;

	public tk2dTextMesh textMeshKill;

	private void Start()
	{
		textMeshKill.text = GameManager.numberKill.ToString();
		texhMeshCoin.text = GameManager.TotalgoldStage.ToString();
		SaveGameController.SaveGame();
	}

	private void OnclickMap()
	{
		SceneManager.LoadScene("SelectMap");
	}

	private void OnclickReplay()
	{
		SceneManager.LoadScene("GamePlay");
	}
}
